package Payment.Size;

import Payment.Color.IColor;

public class SizeSmall extends AbstractSize {

    public SizeSmall(IColor iColor){
        //用父类的构造方法
        super(iColor);
    }

    @Override
    public boolean Draw(String userId) {
        //如果通过了验证
        if(super.color.selectColor(userId)){
            System.out.println("支付人:"+userId);
            System.out.println("毛笔号：小号");

        }
        return true;
    }
}
